<div class="bgtopic">
    <div class="topic_title"> Menu</div>
</div>
<ul id="menuV2">
    <?php
    $session = new CHttpSession;
    $session->open();

    $userID = $session['user_salesmart'][1];
    if ($userID > 98) {
        ?>
        <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/Chuong-trinh-game-show"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/program_files_folder.png"/>Chương trình</a>
            <ul class="sub">
                <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/them-chuong-trinh">Thêm chương trình</a></li>
                <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/cai-dat-qua">Cài đặt quà</a></li>
                <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/so-nguoi-tham-gia">Số người đã tham gia</a></li>
            </ul>
        </li>
    <?php } ?>
    <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/thong-tin-ca-nhan"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/user_business_info_32.png"/>Thông tin cá nhân</a>

    </li>
    <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/doi-mat-khau"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/comment_user_add_32.png"/>Đổi mật khẩu</a>

    </li>

    <li><a href="<?php echo Yii::app()->request->baseUrl; ?>"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/email_32.png"/>Tin nhắn</a>
        <ul class="sub">
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>">Hộp thư đến</a></li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>">Thư đã gửi</a></li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>">Gửi thư</a></li>

        </ul>
    </li>
    <li><a href="<?php echo Yii::app()->request->baseUrl; ?>"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/address_book_32.png"/>Lịch sử giao dịch</a>

    </li>
    <li><a href="<?php echo Yii::app()->request->baseUrl; ?>"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/coins.png"/>Số dư tài khoản</a>

    </li>
    <li><a href="<?php echo Yii::app()->request->baseUrl; ?>"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/database_search_32.png"/>Quản lý gian hàng</a>
        <ul class="sub">
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>">Tạo gian hàng</a></li>

            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>">Menu</a>   </li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>">Sản phẩm</a></li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>">Slider</a></li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>">Panel</a></li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>">Quảng cáo</a></li>
        </ul>
    </li>

    <li><a href="<?php echo Yii::app()->request->baseUrl; ?>"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/newspaper_add_32.png"/>Đăng tin quảng cáo</a>
        <ul class="sub">
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/danh-sach-slider">Quản lý slider</a></li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/them-slider">Thêm slider</a>   </li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/danh-sach-san-pham">Quản lý sản phẩm</a></li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/them-san-pham">Thêm sản phẩm</a></li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/danh-sach-panel">Quản lý banner</a></li>
            <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/them-panel">Thêm banner</a></li>

        </ul>
    </li>
    <li><a href="<?php echo Yii::app()->request->baseUrl; ?>"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/info_button_32.png"/>Hướng dẫn</a>

    </li>
    <li><a href="<?php echo Yii::app()->request->baseUrl; ?>/index.php/thoat-he-thong"><img src="<?php echo Yii::app()->request->baseUrl; ?>/icon/exit.png"/>Thoát</a>

    </li>

</ul>

<?php $this->renderPartial('//site/commercial'); ?>